Patterns for Encapsulating Class Trees by Dirk Riehle Union Bank of Switzerland Introduction

نویسنده

  • Dirk Riehle
چکیده

In: Pattern Languages of Programm Design 2. Chapter 6. Edited by John M. Vlissides, James O. Coplien and Norman L. Kerth. Reading, Massachusetts: Addison-Wesley, 1996. Good object-oriented design firmly relies on abstract classes. They define the interface to work with subclasses that implement them. If clients directly name these subclasses, they become dependent on them. This complicates both system configuration and evolution. The patterns of Late Creation and Class Retrieval presented in this paper overcome these problems by encapsulating class trees behind their root classes. Clients use class specifications to retrieve classes and create objects. Classes can be removed and plugged into the class tree more easily. Thus, encapsulating class trees eases system evolution and configuration of system variants.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Describing and Composing Patterns Using Role Diagrams

Design patterns are patterns of classes and objects that represent solutions to recurring design problems. They are usually described using class diagrams. Class diagrams, however, often intertwine the actual solution with efficient ways of implementing it. This paper uses role diagrams to describe and compose patterns. Role diagrams help designers focus on the collaborations and distribution o...

متن کامل

Password Patterns

This is a set of patterns describing how you could (maybe should) go about creating and handling your passwords in order to achieve practical security. These patterns were developed on a wiki. Also, there were some anonymous contributions. These patterns are used or at least referenced in the upcoming Security Patterns book.

متن کامل

Anthropometric Properties versus Physical Performance in Rugby ::union:: Forwards and Backs - A Systematic Review

Background. Rugby ::::::union:::::: is a team sport with a high amount of physical contact during match play. The physical performance and anthropometric characteristics required, differ based on the playing position. Objectives. The objective of this systematic review was to relate anthropometric properties with physical performance parameters in Rugby ::::::union:::::: backs and forwards acr...

متن کامل

The Role Object Pattern

An object-oriented system is typically based on a set of key abstractions. Each key abstraction is modeled by a corresponding class in terms of abstract state and behavior. This usually works fine for the design of smaller applications. However, once we want to scale up the system into an integrated suite of applications, we have to deal with different clients that need context-specific views o...

متن کامل

Understanding and Using Patterns in Software Development

Patterns have shown to be an effective means of capturing and communicating software design experience. However, there is more to patterns than software design patterns: We believe that patterns work for software development on several levels. In this paper we explore what we have come to understand as crucial aspects of the pattern concept, relate patterns to the different models built during ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1995